package com.itheima.springbootmybatisquickstart.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.springbootmybatisquickstart.pojo.Dept;

import java.util.List;

public interface DeptService extends IService<Dept> {
    /**
     * 查询所有部门
     */
     List<Dept> findAll();

    void deleteById(Integer id);

    void save2(Dept dept);

    Dept getById(Integer id);

    void update(Dept dept);
}